Restart WPF Application

53

Restart WPF Application -

var currentExecutablePath = Process.GetCurrentProcess().MainModule.FileName;
Process.Start(currentExecutablePath);
Application.Current.Shutdown();

wpf restart application c# -

Application.Current.Shutdown();
System.Windows.Forms.Application.Restart();

Comments

Submit
0 Comments